package org.demo.honor.pojo.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
public class OrderResponse {

    private Integer id;
    private String mobileName;
    private String mobileId;

    private BigDecimal singleAmount;

    private BigDecimal totalAmount;

    private int count;

    @DateTimeFormat(pattern = "YYYY-MM-DD hh:mm:ss")
    private Date salesTime;
    @DateTimeFormat(pattern = "YYYY-MM-DD hh:mm:ss")
    private Date paymentTime;

    private String comment;
}
